









<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Samples - JDepend Report Metrics</title>
    <link rel="stylesheet" href="./css/maven-theme.css" type="text/css" />
    <link rel="stylesheet" href="./css/maven-base.css" type="text/css"/>
    <link rel="stylesheet" href="./css/prettify.css" type="text/css"/>
    <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
    <script type="text/javascript" src="./js/prettify.js"></script>
    <script type="text/javascript" src="./js/niftycube.js"></script>
    <script type="text/javascript">
        window.onload=function() {
            Nifty("div\#wrapper", "big");
            Nifty("div#breadcrumbs", "small");
            Nifty("div\#navcolumn", "small");
            Nifty("div.source", "medium");
            prettyPrint();
        }
    </script>
          </head>
  <body>
    <div id="wrapper">
        <div id="banner">
                      <a href="http://ibaguice.googlecode.com/svn/site/1.0-beta-2/index.html" id="bannerLeft"  >
    
                                            <img src="../../images/logo.png" alt="iBaGuice: enjoy the power of iBatis + Google Guice" />
    
            </a>
                            <div class="clear">
            <hr/>
          </div>
        </div>
        <div id="breadcrumbs">
              
  

  
    
            
  
    
            <div class="xleft">
        <span id="publishDate">Last Published: 2010-03-01</span>
                  &nbsp;| <span id="projectVersion">Version: 1.0-beta-2</span>
                      </div>
                <div class="xright">      
  

  
    
            
  
    
  </div>
          <div class="clear">
            <hr/>
          </div>
        </div>
        <div id="leftColumn">
          <div id="navcolumn">
               
  

  
    
            
  
    
                       <h5>External Links</h5>
            <ul>
              
    <li class="none">
                    <a href="../">Project Page</a>
          </li>
              
    <li class="none">
                    <a href="http://ibatis.apache.org/" class="externalLink">iBatis</a>
          </li>
              
    <li class="none">
                    <a href="../../google-guice/">Google Guice</a>
          </li>
          </ul>
                                               <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
            <img class="poweredBy"
                 alt="Built by Maven"
                 src="./images/logos/maven-feather.png"
                 width="90"
                 height="30"
                 border="1" />
          </a>
                           
  

  
    
            
  
    
            </div>
        </div>
        <div id="bodyColumn">
          <div id="contentBox">
            <div class="section"><h2>Metric Results</h2>
[ <a href="#summary">summary</a> ] [ <a href="#packages">packages</a> ] [ <a href="#cycles">cycles</a> ] [ <a href="#explanations">explanations</a> ] <br />
<br />
The following document contains the results of a JDepend metric analysis. The various metrics are defined at the bottom of this document.<br />
<br />
<a name="summary"></a><h2>Summary</h2>
[ <a href="#summary">summary</a> ] [ <a href="#packages">packages</a> ] [ <a href="#cycles">cycles</a> ] [ <a href="#explanations">explanations</a> ] <br />
<br />
<table class="bodyTable"><tr class="a"><th>Package</th>
<th>TC</th>
<th>CC</th>
<th>AC</th>
<th>Ca</th>
<th>Ce</th>
<th>A</th>
<th>I</th>
<th>D</th>
<th>V</th>
</tr>
<tr class="b"><td><a href="#com.google.code.ibaguice.samples">com.google.code.ibaguice.samples</a></td>
<td>9</td>
<td>5</td>
<td>4</td>
<td>5</td>
<td>5</td>
<td>44.0%</td>
<td>50.0%</td>
<td>6.0%</td>
<td>1</td>
</tr>
<tr class="a"><td><a href="#com.google.code.ibaguice.samples.ehcache">com.google.code.ibaguice.samples.ehcache</a></td>
<td>3</td>
<td>2</td>
<td>1</td>
<td>0</td>
<td>2</td>
<td>33.0%</td>
<td>100.0%</td>
<td>33.0%</td>
<td>1</td>
</tr>
<tr class="b"><td><a href="#com.google.code.ibaguice.samples.hazelcast">com.google.code.ibaguice.samples.hazelcast</a></td>
<td>3</td>
<td>2</td>
<td>1</td>
<td>0</td>
<td>2</td>
<td>33.0%</td>
<td>100.0%</td>
<td>33.0%</td>
<td>1</td>
</tr>
<tr class="a"><td><a href="#com.google.code.ibaguice.samples.jboss">com.google.code.ibaguice.samples.jboss</a></td>
<td>3</td>
<td>2</td>
<td>1</td>
<td>0</td>
<td>2</td>
<td>33.0%</td>
<td>100.0%</td>
<td>33.0%</td>
<td>1</td>
</tr>
<tr class="b"><td><a href="#com.google.code.ibaguice.samples.memcached">com.google.code.ibaguice.samples.memcached</a></td>
<td>3</td>
<td>2</td>
<td>1</td>
<td>0</td>
<td>2</td>
<td>33.0%</td>
<td>100.0%</td>
<td>33.0%</td>
<td>1</td>
</tr>
<tr class="a"><td><a href="#com.google.code.ibaguice.samples.oscache">com.google.code.ibaguice.samples.oscache</a></td>
<td>3</td>
<td>2</td>
<td>1</td>
<td>0</td>
<td>2</td>
<td>33.0%</td>
<td>100.0%</td>
<td>33.0%</td>
<td>1</td>
</tr>
</table>
<a name="packages"></a><h2>Packages</h2>
[ <a href="#summary">summary</a> ] [ <a href="#packages">packages</a> ] [ <a href="#cycles">cycles</a> ] [ <a href="#explanations">explanations</a> ] <br />
<a name="com.google.code.ibaguice.samples"></a><h3>com.google.code.ibaguice.samples</h3>
<table class="bodyTable"><tr class="b"><th>Afferent Couplings</th>
<th>Efferent Couplings</th>
<th>Abstractness</th>
<th>Instability</th>
<th>Distance</th>
</tr>
<tr class="a"><td>5</td>
<td>5</td>
<td>44.0%</td>
<td>50.0%</td>
<td>6.0%</td>
</tr>
</table>
<table class="bodyTable"><tr class="b"><th>Abstract Classes</th>
<th>Concrete Classes</th>
<th>Used by Packages</th>
<th>Uses Packages</th>
</tr>
<tr class="a"><td>com.google.code.ibaguice.samples.AbstractContactDao<br />
com.google.code.ibaguice.samples.AbstractTransactionalContactDao<br />
com.google.code.ibaguice.samples.ContactDao<br />
com.google.code.ibaguice.samples.ContactMapper<br />
</td>
<td>com.google.code.ibaguice.samples.Contact<br />
com.google.code.ibaguice.samples.DaoException<br />
com.google.code.ibaguice.samples.SimpleContactDao<br />
com.google.code.ibaguice.samples.TransactionalContactDao<br />
com.google.code.ibaguice.samples.TransactionalService<br />
</td>
<td>com.google.code.ibaguice.samples.ehcache<br />
com.google.code.ibaguice.samples.hazelcast<br />
com.google.code.ibaguice.samples.jboss<br />
com.google.code.ibaguice.samples.memcached<br />
com.google.code.ibaguice.samples.oscache<br />
</td>
<td>com.google.code.ibaguice.dao<br />
java.io<br />
java.lang<br />
java.util<br />
org.apache.ibatis.session<br />
</td>
</tr>
</table>
<a name="com.google.code.ibaguice.samples.ehcache"></a><h3>com.google.code.ibaguice.samples.ehcache</h3>
<table class="bodyTable"><tr class="b"><th>Afferent Couplings</th>
<th>Efferent Couplings</th>
<th>Abstractness</th>
<th>Instability</th>
<th>Distance</th>
</tr>
<tr class="a"><td>0</td>
<td>2</td>
<td>33.0%</td>
<td>100.0%</td>
<td>33.0%</td>
</tr>
</table>
<table class="bodyTable"><tr class="b"><th>Abstract Classes</th>
<th>Concrete Classes</th>
<th>Used by Packages</th>
<th>Uses Packages</th>
</tr>
<tr class="a"><td>com.google.code.ibaguice.samples.ehcache.ContactMapper<br />
</td>
<td>com.google.code.ibaguice.samples.ehcache.ContactDao<br />
com.google.code.ibaguice.samples.ehcache.TransactionalContactDao<br />
</td>
<td><i>None</i></td>
<td>com.google.code.ibaguice.samples<br />
java.lang<br />
</td>
</tr>
</table>
<a name="com.google.code.ibaguice.samples.hazelcast"></a><h3>com.google.code.ibaguice.samples.hazelcast</h3>
<table class="bodyTable"><tr class="b"><th>Afferent Couplings</th>
<th>Efferent Couplings</th>
<th>Abstractness</th>
<th>Instability</th>
<th>Distance</th>
</tr>
<tr class="a"><td>0</td>
<td>2</td>
<td>33.0%</td>
<td>100.0%</td>
<td>33.0%</td>
</tr>
</table>
<table class="bodyTable"><tr class="b"><th>Abstract Classes</th>
<th>Concrete Classes</th>
<th>Used by Packages</th>
<th>Uses Packages</th>
</tr>
<tr class="a"><td>com.google.code.ibaguice.samples.hazelcast.ContactMapper<br />
</td>
<td>com.google.code.ibaguice.samples.hazelcast.ContactDao<br />
com.google.code.ibaguice.samples.hazelcast.TransactionalContactDao<br />
</td>
<td><i>None</i></td>
<td>com.google.code.ibaguice.samples<br />
java.lang<br />
</td>
</tr>
</table>
<a name="com.google.code.ibaguice.samples.jboss"></a><h3>com.google.code.ibaguice.samples.jboss</h3>
<table class="bodyTable"><tr class="b"><th>Afferent Couplings</th>
<th>Efferent Couplings</th>
<th>Abstractness</th>
<th>Instability</th>
<th>Distance</th>
</tr>
<tr class="a"><td>0</td>
<td>2</td>
<td>33.0%</td>
<td>100.0%</td>
<td>33.0%</td>
</tr>
</table>
<table class="bodyTable"><tr class="b"><th>Abstract Classes</th>
<th>Concrete Classes</th>
<th>Used by Packages</th>
<th>Uses Packages</th>
</tr>
<tr class="a"><td>com.google.code.ibaguice.samples.jboss.ContactMapper<br />
</td>
<td>com.google.code.ibaguice.samples.jboss.ContactDao<br />
com.google.code.ibaguice.samples.jboss.TransactionalContactDao<br />
</td>
<td><i>None</i></td>
<td>com.google.code.ibaguice.samples<br />
java.lang<br />
</td>
</tr>
</table>
<a name="com.google.code.ibaguice.samples.memcached"></a><h3>com.google.code.ibaguice.samples.memcached</h3>
<table class="bodyTable"><tr class="b"><th>Afferent Couplings</th>
<th>Efferent Couplings</th>
<th>Abstractness</th>
<th>Instability</th>
<th>Distance</th>
</tr>
<tr class="a"><td>0</td>
<td>2</td>
<td>33.0%</td>
<td>100.0%</td>
<td>33.0%</td>
</tr>
</table>
<table class="bodyTable"><tr class="b"><th>Abstract Classes</th>
<th>Concrete Classes</th>
<th>Used by Packages</th>
<th>Uses Packages</th>
</tr>
<tr class="a"><td>com.google.code.ibaguice.samples.memcached.ContactMapper<br />
</td>
<td>com.google.code.ibaguice.samples.memcached.ContactDao<br />
com.google.code.ibaguice.samples.memcached.TransactionalContactDao<br />
</td>
<td><i>None</i></td>
<td>com.google.code.ibaguice.samples<br />
java.lang<br />
</td>
</tr>
</table>
<a name="com.google.code.ibaguice.samples.oscache"></a><h3>com.google.code.ibaguice.samples.oscache</h3>
<table class="bodyTable"><tr class="b"><th>Afferent Couplings</th>
<th>Efferent Couplings</th>
<th>Abstractness</th>
<th>Instability</th>
<th>Distance</th>
</tr>
<tr class="a"><td>0</td>
<td>2</td>
<td>33.0%</td>
<td>100.0%</td>
<td>33.0%</td>
</tr>
</table>
<table class="bodyTable"><tr class="b"><th>Abstract Classes</th>
<th>Concrete Classes</th>
<th>Used by Packages</th>
<th>Uses Packages</th>
</tr>
<tr class="a"><td>com.google.code.ibaguice.samples.oscache.ContactMapper<br />
</td>
<td>com.google.code.ibaguice.samples.oscache.ContactDao<br />
com.google.code.ibaguice.samples.oscache.TransactionalContactDao<br />
</td>
<td><i>None</i></td>
<td>com.google.code.ibaguice.samples<br />
java.lang<br />
</td>
</tr>
</table>
<a name="cycles"></a><h2>Cycles</h2>
[ <a href="#summary">summary</a> ] [ <a href="#packages">packages</a> ] [ <a href="#cycles">cycles</a> ] [ <a href="#explanations">explanations</a> ] <br />
<br />
There are no cyclic dependencies.<br />
<a name="explanations"></a><h2>Explanation</h2>
[ <a href="#summary">summary</a> ] [ <a href="#packages">packages</a> ] [ <a href="#cycles">cycles</a> ] [ <a href="#explanations">explanations</a> ] <br />
<br />
The following explanations are for quick reference and are lifted directly from the original JDepend documentation.<br />
<br />
<table class="bodyTable"><tr class="b"><th>Term</th>
<th>Description</th>
</tr>
<tr class="a"><td>Number of Classes</td>
<td>The number of concrete and abstract classes (and interfaces) in the package is an indicator of the extensibility of the package.</td>
</tr>
<tr class="b"><td>Afferent Couplings</td>
<td>The number of other packages that depend upon classes within the package is an indicator of the package's responsibility.</td>
</tr>
<tr class="a"><td>Efferent Couplings</td>
<td>The number of other packages that the classes in the package depend upon is an indicator of the package's independence.</td>
</tr>
<tr class="b"><td>Abstractness</td>
<td>The ratio of the number of abstract classes (and interfaces) in the analyzed package to the total number of classes in the analyzed package. The range for this metric is 0 to 1, with A=0 indicating a completely concrete package and A=1 indicating a completely abstract package.</td>
</tr>
<tr class="a"><td>Instability</td>
<td>The ratio of efferent coupling (Ce) to total coupling (Ce / (Ce + Ca)). This metric is an indicator of the package's resilience to change. The range for this metric is 0 to 1, with I=0 indicating a completely stable package and I=1 indicating a completely instable package.</td>
</tr>
<tr class="b"><td>Distance</td>
<td>The perpendicular distance of a package from the idealized line A + I = 1. This metric is an indicator of the package's balance between abstractness and stability. A package squarely on the main sequence is optimally balanced with respect to its abstractness and stability. Ideal packages are either completely abstract and stable (x=0, y=1) or completely concrete and instable (x=1, y=0). The range for this metric is 0 to 1, with D=0 indicating a package that is coincident with the main sequence and D=1 indicating a package that is as far from the main sequence as possible.</td>
</tr>
<tr class="a"><td>Cycles</td>
<td>Packages participating in a package dependency cycle are  in a deadly embrace with respect to reusability and their  release cycle. Package dependency cycles can be easily identified by reviewing the textual reports of dependency cycles. Once these dependency cycles have been identified with JDepend, they can be broken by employing various object-oriented techniques.</td>
</tr>
</table>
</div>

          </div>
        </div>
        <div class="clear">
          <hr/>
        </div>
        <div id="footer">
          <div class="xright">Copyright &#169;         
   
          2010.
    
      All Rights Reserved.    
  

  
    
            
  
    
  </div>
          <div class="clear">
            <hr/>
          </div>
        </div>
    </div>
  </body>
</html>
